FROM java:8
VOLUME /tmp
COPY target/diy-docker-demo.jar diy-docker-demo.jar
RUN bash -c "touch /diy-docker-demo.jar"
EXPOSE 8080
ENTRYPOINT ["java","-jar","diy-docker-demo.jar"]